updated script to check if modal dialog has a nested role=document. if so, add the generated close button as a child of the role=document container. see change log and readme for further notes.