[PATCH] Use the main loop to control displaying the resize dialog.