Please keep the code as it was before. There is no need to modify the structure, because this is following the same as the regular overlay.