Solved a small bug regarding the removeParamsButton which was not shown when called to addParam method in some circumtances.
Repacement of the old block without deleting its params is working now, but needs more testing...