Added modal close on confirm for AJAX requests

Hardcoded into js file. Coffescript file leaved untoched (sorry).