added dialog box api using dialog box in chess in case gnuchessx is not there replace tabepice in jpg