Firing client side onClose event, displaying client side errors, passing displayed nodes