Added prevention from decorating dialogs with filebrowser button, when filebrowser plugin was not present.
Simplified condition.