Minecraft wiki entry for Development_versions, associated text: Dispensers will eject water and lava source blocks from buckets.
Will also take water and lava source blocks if there is an empty bucket inside.