Modified notes to use boostrap modal, more logical processing order. Removed logs