dealing with room modal