simplified modal positioning