New script development settings have been added to the Advanved tab in the preferences.
please make these settings accessible from the script window along side the other menu items.

Photo Viewer

View photos in a modal