Perhaps you want to be presenting a modal view, not a modal scene?
For instance, present your login view as a popover or sheet, then wait_modal on the view to wait until it is closed.