minor fix on the modal pop/drop