In the new version on GIMP, you have to export in order to save in .png form etc.. And as Big skip says, make sure you anchor floating layers. Also, you gotta unselect the 'eye' icon for new layers if you gonna export masks etc or it will not work if the new layers are visible when you export to .png