Creating class for displaying a note input dialog