Popup dialog improvement

This should close issues #180 and #196.

This PR corrects a problem with conflicting reuse of instance variables in templates/partials (specifically, @options).  It also adjusts the size of certain dialogs (new Exercise and RegistrationRequest) and also automatically focuses on the "exercise url" inside the new Exercise dialog. @matthewmoravec