Steps to replicate the issue (include links if applicable):
- Open the template data editor for a template
- Click "Add parameter" at the bottom
- Press escape
What happens?:
A dialog box opens, asking if you want to discard your changes, like when you click the back arrow and then click the close button.
What should have happened instead?:
It should go back to the previous screen, like when you click the back arrow.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):