Base for implementing "save as" window.