-Fixed delete dialog deleteing file before confim

Signed-off-by: abnegate <jake_barnby@hotmail.com>