Disable open empty tab on Package double click

Only a small change on Model.java