Now handles errors and cancel stops postback