Fix undefined warning.
Fix issue where the datetimepicker when activated at the top of the calendar gets the month picking section cut off.
When flipping between static and editable metadata, make sure the correct editable dropdown element is selected.