Revert "Fixes z-index issue with popups."

This reverts commit 1f9cc80782ebdd994a6c3971dc1b6db067493b83.
Fixes z-index issue with popups try 2.