save the state of the open/save QFileDialogs