make input read only for apply changes