Fix modal z-indexing issue