Dynamic prompt.

Using the afterRender run loop allows for a dynamic prompt to be used. The selection will then be done after the prompt is rendered.