added return values to registration 'Done' button