$time.val(kivi.format_time(date));
   };
 
+  var order_changed_called;
   ns.order_changed = function(value) {
+    order_changed_called = true;
+
     if (!value) {
       $('#time_recording_customer_id').data('customer_vendor_picker').set_item({});
       $('#time_recording_customer_id_name').prop('disabled', false);
       $('#time_recording_project_id').data('project_picker').set_item({});
       $('#time_recording_project_id_name').prop('disabled', false);
+      $('#time_recording_project_id ~ .ppp_popup_button').show()
       return;
     }
 
       $('#time_recording_customer_id_name').prop('disabled', true);
       $('#time_recording_project_id').data('project_picker').set_item(data.project);
       $('#time_recording_project_id_name').prop('disabled', true);
+      $('#time_recording_project_id ~ .ppp_popup_button').hide()
     });
   };
 
-  ns.project_changed = function() {
+  ns.project_changed = function(event) {
+    if (order_changed_called) {
+      order_changed_called = false;
+      return;
+    }
+
     var project_id = $('#time_recording_project_id').val();
 
     if (!project_id) {
       }
       if ("project" === elt) {
         $('#time_recording_project_id_name').prop('disabled', true);
+        setTimeout(function() {$('#time_recording_project_id ~ .ppp_popup_button').hide();}, 100);
       }
     });
   };