Moved log edit functionality to edit submodule. Add components directory to lib and moved dialog in there