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