Made the cancel button default for reset dialog