Create cancel trajectory button and delete trajectory button

Think I got the bugs out, but you might want to try for yourself