Added id attribute to dialog content; destroy on close should be handled in close event handler