Make sure to clean-up dialogs when destroying summernote