Registration dialog clien-side logic and view