- Eliminate repeated and changing modal title in the header
- Allow users to go back to search after selecting a template
Requirements:
- Change headings to always be: "Insert a template" if a new template, and "Edit template" if existing. This includes when the sidebar is open or closed.
- Replace close button with back button when inserting a new template, clicking returns you to the search.
- After back button is clicked, it should switch to an "X" close button on the search screen.
- Add warning about data loss when clicking the back button after having added data. Title:"Remove template?" Error:"Going back will remove this template and any data you have input. This action is not reversible." Button options: "Cancel" and "Remove template." When no data has been entered, show no warning.