You need to select the material then select the object to place it on. Dont close the dialog before youve painted