fixed input area focus

When the addon dialog is shown, the input textarea is not focused, this pull request fixes this issue