Added handler methods to Modal.