added optional window name for save()