On the edit page, there are two main issues with the delete button, each of which can be solved by a very small fix
- The delete button is displayed when watching a new component and will crash the site
Proposed fix: Hide it on the 'new' page
- There is no confirmation if a component is accidentally deleted which can be annoying for the user
Proposed fix: Add a confirmation popup for component deletion