Fix duplicate save and cancel buttons in Studio

STUD-1531

Also add support for refreshing the modal on custom save
Merge pull request #3361 from edx/andya/rc-fix-duplicate-buttons

Fix duplicate save and cancel buttons in Studio