aaron: clear the stack when the user closes the modal