made sure update dialog is always in foreground