Make the prompt preview work