Added confirm dialog to graph deletion
Added test for graph deletion confirmation