Code monitoring creation page: Track monitor state, advance form sequentially
Created by: attfarhan
This PR adds state to the code monitoring creation form.
Main changes:
- The state of each field of the monitor is tracked in
codeMonitor
- The form is advanced sequentially as parts of the form are completed (Action area is disabled until Trigger is complete, Create button is disabled until both Trigger and Action areas are complete)
- Trigger and action areas in the UI are factored out into
TriggerArea
andActionArea
respectively - Added functionality to edit trigger and actions
- Added functionality for cancel buttons