Added id so closing goes to the registration form directly.