Improve init-seafile-dialog