Setting location of LiveCG main dialogs intelligently