merge top and onTop, so the position is flexible. In the  most time, user do not need popup exactly vertical align on middle of page