Added dialog box and functionality to mainwindow delete button.
Merge pull request #1 from TakSuyu/master

Delete button functionality