adding aggregation directive for generating input data, dynamically generation of input direcitives + small fix on module input data dialog to close properly