Fix input-button disabled state; add support for jquery UI buttons of type 'uibutton'
Re-arrange buttons in import dialog to match the rest of the appplication