fix delete to ask for confirmation before deleting

@devoncarew 

Next pass would like to see if we can have one modal dialog declaration (html) that can be repurposed - we will need dialogs for new file and rename.