fix problem which causes first attempt to open another model to fail
Currently attempt to open another model fails almost every time in error (OSX). Only indication of that is a quick error message which is shown just briefly and easy to miss. After failure StartUML opens previous model which could lead to loss of data if user doesn't notice it. Second attempt to open the model works always.