Remove modal panel when world switch is validated