Fix: switch to edit mode and tab to scripts when loading a project