Something went wrong when I've builded project so that included modal in scripts