Quick fix to disable buttons on main dialog while registering.