fix selectmenu within dialog

make sure the actual menu of a selectmenu is displayed on top of any possible dialog.