[gui/ActionHandler] keep track of what stage of the action flow the user is in; fixes #1