I would use prompt_callback instead of prompt

prompt_callback is called by the list, when it's activating. so it should be created by that time.