Fix the del and esc button when edit a post