Documentation dialog should be persistent if dirty
If a user opens the documentation dialog and fills in or edits the text fields, the dialog should get the persistent
prop to avoid accidentally closing the dialog. Instead, the dialog then should only be closed by clicking cancel or saved.
If the input fields are not "dirty" anymore (→ the user has reverted their changes), the dialog shouldn't be persistent anymore