fix cancel in load dialog