hooked load/save buttons to work with file dialogs