Freeze display with googledrive or dropbox

Freeze display with googledrive or dropbox

When I open an email in preview and want to attach a file to dropbox or google drive but decided to cancel the display freezes, why?
I have to restart Zoho mail to resolve the problem.