Fix #114: improve dialog saveFolder to only accept empty directories