Fix z-ordering of modal