Fixed errors

1. popup doesn't work while deleting item.
2. add validation rule for add stock record.