fix for CustomBlockDialog