if (input.JustPressed(Input::ACTION_A)) {
if (selection->CurrentIsSelected()) {
ctrl->PopState(); // return control to parent
if (input.JustPressed(Input::ACTION_A)) {
if (selection->CurrentIsSelected()) {
ctrl->PopState(); // return control to parent