bugfix: gui callbacks for dismissable states where not handled if not on top of state stack