Updated CustomButtonDialog to clear the ID dictionary for each new instance. Doing so will prevent the ID dictionary from going too large should CustomButtonDialog be used a lot in session. Not sure if this would cause problems, such as if there is a time when the ID's will not be used immediately.