TUP-1820: fixed the dialog to popup twince.

Refactor the Interface to another plugin, so need change the import.