Updated documentation to include timeOut arguments
Added timeout for OK / Cancel callbacks.