uniform layout for adding en editing modules