Make the script viewer modal in order to prevent it from disappearing.