created boilerplate modal menu and a template filter as_json