[filebrowser] enforce deleteonclose behaviour