[PDI-10744] - fixed a bug with user that has create perms and has open f...

...ile prior to connect.  A warning dialog would prompt them closing file will result in loosing changes (even though tab was not dirty).  If user cancels dialog, the tab remains open in a dirty state connected to a repo and is unable to save to repo.  This fix removes that warning unless they have create perms.