better animation for modals.