adding confirm dialog when cancel add/edit form and set confirm dialog form when delete using jquery.noty.js plugin