Added the Flush Dialog and Stroke Check