Site code to terminate un-posted topics

If you switch pages with a started but unfinished forum thread a prompt is created asking if one would like to terminate the un-posted thread. If you select yes the " new-topic" You have created but not submitted will still exist on the new page/