public void OpenPopup(NetLabel fieldToEdit)
 {
     //Previously we set entryPage only server-side, but popup is opening client-side
     if (entryPage == null)
     {
         entryPage = GetComponentInParent <GUI_SecurityRecordsEntryPage>();
     }
     entryPage.OpenPopup(fieldToEdit);
 }
    public void ReInit(SecurityRecordCrime crimeToInit, GUI_SecurityRecordsEntryPage entryPageToInit)
    {
        crime     = crimeToInit;
        entryPage = entryPageToInit;

        crimeText.SetValue   = crime.Crime;
        detailsText.SetValue = crime.Details;
        authorText.SetValue  = crime.Author;
        timeText.SetValue    = crime.Time;
    }