wire up modal dialog cancel button