Added error flash for survey creation