Fix dialogs not hiding properly
Fix dialog button focus behavior
Fix travis build
Simplify change
Fix JSLint errors
Fix review issues
Merge pull request #5579 from WebsiteDeveloper/dialog-improvements

Remove modal-wrapper whenever modal dialog is closed