better positioning for modal