It seems that when the Modal is centered in screen it occupies more height than what is needed: Plunker
How to solve this?