add a try loop around EndModal on the optionsDialog
actually a neater way than try except loops
Merge pull request #29 from l1ll1/onetab

Onetab