badge modal now centers in document