Fix reload after editing models on the frontend.
Adds parameters to CMS.Modal and CMS.Plugin to handle the different cases.
Merge pull request #2461 from yakky/feature/fix_edit_model_reload

Fix reload after editing models on the frontend.