add ajax error callback to render error flash message and stop default behavior on ajax success of removing a row on smartlisting destroy events when there is an error on AJAX