Add error message area to MM template
Add save query to editing a MM profile