add finish dialog to setting.py