Fixed field focusing issues in edit popup (osx)