Modified the notes dialog class to set visibility false