You could move this just after the `Dialogs.showModalDialogUsingTemplate` and remove them from the done part, since they are used in both cases. Maybe the `find("about-spinner")` could be moved as a var too since that is always used too?