Dialogue takes layer into account now