Modal.close function is not working in google chrome...
Please upgrade to the latest version (2.1):
http://code.daypilot.org/81367/daypilot-modal
It uses a different mechanism of passing the result back to the client and it is compatibly with Google Chrome.