Added confirm delete functionality.

You are prompted to confirm that you wish to delete the postit before
it is removed from the database.

Also removed obsolete code.