updated post and save functions to accept either an uploaded image, or the image crated by the fabric canvas. the send function will now cause the new post window to close on successful save