Without examples, it's tough to debug, but I recently ran in to some similar problems. It seems that the style of the containing element (usually a div) was messing up the style of the modal. I moved the modal out of as many nested elements as possible and the problems went away. Can you try something like that?