Added onOpen callback to comments