[Core]: Fixes: reloadable modal plugin does not work when invoked multiple times.