ok, cancel button prints