Fix open file to focus back view on cancel.