Add delete button in staticpage, fixes #4717