Fixed crash when clicking the open button after creation

[bug #710576]