Update HTML for custom edit modal buttons

These changes address TIM-461 when combined with this Studio PR:

https://github.com/edx/edx-platform/pull/3339