Added modal ok, cancel methods