improved handling of BeditaAjaxExceptions

Add handling of BeditaAjaxExceptions in frontends