Fixes #5401, adding back .btn-danger class to remove dialogs.
Merge pull request #3937 from waldenraines/bug-5041

Fixes #5401, adding back .btn-danger class to remove dialogs.