Added prevention from decorating dialogs with filebrowser button, when filebrowser plugin was not present.
Simplified condition.
Merge branch 't/11165'