Change the dialogue screen's styling to not need :not for z-indexing