Incorporated Mike's suggestion about confirmation for create/update events. Changed delete dialog to use regular confirm() function. And probably other things.