If the form is displayed in embedded mode, display thank you page in embedded mode as well.