Fixed "User cancelled save file request" error on saving a layout (Ubuntu 22.04, gnome, chrome).
May fix "Portal returned error: org.freedesktop.portal.Error.InvalidArgument: invalid filter: name is empty" error when saving a layout in AppImage (untested).
Fixed all calls to window.showSaveFilePicker in the same way, but tested only layout save.
Fixed "User cancelled save file request" error on saving a layout (Ubuntu 22.04, gnome, chrome). May fix "Portal returned error: org.freedesktop.portal.Error.InvalidArgument: invalid filter: name is empty" error when saving a layout in AppImage (untested). Fixed all calls to window.showSaveFilePicker in the same way, but tested only layout save.