Modal gets hide behind another modal

when i try to open a modal(2) from a opened modal(1), new modal(2) gets behind the opened one(1).

Same here. Did you solve it?