Hide keyboard when leaving coordinate input dialog