Base class of dialogue window has been done.