approach to fix the multiple instance bug
added option proxies
destroy dialog on hide
removed test