story creation ui logic