WIP: support of custom onclick callbacks configuration, inheritable settings between modules