If a dispenser located at y=255 (build limit) dispenses lava/water upwards, the lava/water will immediately disappear. This only leaves the bucket said lava/water was in.