dialog appearance fixes