Describe the bug
When at a project's security page and filling out the Generate YAML form, you can cause it to close by pressing escape. When you've closed it all progress is lost upon clicking the Generate YAML button again.
To Reproduce
Steps to reproduce the behavior:
- Go to a project's Security page https://insights.linuxfoundation.org/project/cockpit-project-cockpit/repository/cockpit-project_cockpit/security
- Click on Generate YAML
- Fill out something basic
- Press "Escape" on your keyboard and see the form close
- Click on Generate YAML
- See all progress wiped
Expected behavior
A warning to appear when about losing progress when
- Pressing "Escape"
- Refreshing the page
Jira Issue: DE-903
Describe the bug
When at a project's security page and filling out the Generate YAML form, you can cause it to close by pressing escape. When you've closed it all progress is lost upon clicking the Generate YAML button again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A warning to appear when about losing progress when
Jira Issue: DE-903