Fix bugs in Scheduler 'external editor form' demo