If z-order is not defined, the most recently opened window will appear on top based on the order in which the windows were opened.
z-order