Simplify onStatusDialogDismissed

This was way to complicated. Many useless if's.