Create custom popup

i want build a custom pop up for if the some field = Yes at record creation or changes to Yes at edit?  Upon save a pop up should appear that says, "Some message." with just an x to close out.  Upon closing the pop up, the record should save as is.