Photok
Photok copied to clipboard
Dismiss dialog when done
Currently a user has to click on Close
after an action like Importing files
is done. As this is an extra click this PR changes the code to auto close the dialog in such cases.