How can i stop FileDialog from closing after selecting a file?

Godot Version



I have a custom FileDialog permanently visible on the side of my UI. When i double click to open a file, the dialog disappears as expected. I want the FileDialog to stay visible. I have tried to show() in the file_selected signal but it does not work.