customized the confirm delete behaviour to use Bootstrap modal dialog