introducing modal dialogBox for delete confirmation