Implemented "save in folder" mode of demo page