set modal top based on css property, removed 100px hardcode