Fixed confirm to not screw up variables in the callback function.  In order for this to work, the callback must be bound each time ".confirm" is called.