fixed issue #28 + added buttons to the source dialog