UPDATED: If the editbox is empty and you press ok, it exits the dialog. No more errors. Removed extra space and dialog + buttons are resized.