Improving account dialog box behavior.