gui fix
avoid looping of dialogs