slider should not overlay modals.