onBeforeDrop added

Signed-off-by: bovitobo <bovitobo@yahoo.com>