Improvements to JInputController and ADialog