<commit_before>$("#writeMessage").click(function(){ 
	showOptions()
				 
});
    
	function showOptions() {
		$( "#optionDialog" ).dialog({
			resizable: false,
			dialogClass: 'optionDialog', 
			autoOpen: false,
			height: 50,
			width: 527,
			modal: true,
			buttons: {
				"Set mark on the map": functio3n() {
					myLocation = false;
					setMark();
                    $( this ).dialog( "close" );
				},
				"Use my current location": function() {
					myLocation = true;
					openDialog();
					$( this ).dialog( "close" );
				}
			}
						
		});
		$( "#optionDialog" ).dialog( "open" );
	}
		
function openDialog() {
	  
		$( "#messageDialog" ).dialog({
			dialogClass: 'messageDialogClass', 
			resizable: false,
			autoOpen: false,
			height: 410,
			width: 362,
			modal: true,
			buttons: {
				"Save": function() {
					$( this ).dialog( "close" );
					var lostThing = new LostThing();
					lostThing.title = $('#title').val();<commit_msg>Fixed small mistake in dialogs<commit_after>$("#writeMessage").click(function(){ 
	showOptions()
				 
});
    
	function showOptions() {
		$( "#optionDialog" ).dialog({
			resizable: false,
			dialogClass: 'optionDialog', 
			autoOpen: false,
			height: 50,
			width: 527,
			modal: true,
			buttons: {
				"Set mark on the map": function() {
					myLocation = false;
					setMark();
                    $( this ).dialog( "close" );
				},
				"Use my current location": function() {
					myLocation = true;
					openDialog();
					$( this ).dialog( "close" );
				}
			}
						
		});
		$( "#optionDialog" ).dialog( "open" );
	}
		
function openDialog() {
	  
		$( "#messageDialog" ).dialog({
			dialogClass: 'messageDialogClass', 
			resizable: false,
			autoOpen: false,
			height: 410,
			width: 362,
			modal: true,
			buttons: {
				"Save": function() {
					$( this ).dialog( "close" );
					var lostThing = new LostThing();
					lostThing.title = $('#title').val();
{'fraction_non_alphanumeric': 0.17202072538860103, 'fraction_numerical': 0.011917098445595855, 'mean_word_length': 2.517304189435337, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6458774', 'n_tokens_mistral': 828, 'n_tokens_neox': 611, 'n_words': 149}