convert organize macros dialog to .ui

Change-Id: I210ab0bb294ddfefc3f60cffe64b72e5d8fa4650