add z-Index to popup menu (fixes #3923)