handle setting library password in OpenFileDialog