fix for incomplete implementation of new WebDialog subclass for options dialog
+ fix for WebDialog subclass to prevent double initialization