Generate save dialog dinamically