Fix bug when closing the Model structure tab

(closes #50)
Merge branch 'fix-50' of https://github.com/alibres/openfluid into alibres-fix-50