Working opening dialog for Registration