Initial commit for new 'edit plan' api function and UI elements.