Added overwrite confirmation dialog to save dialog
Updated task list and removed some redundant code