editted failing tests due to changes in main.js. Added test for delete function, currently failing.
Cut down on some complexity in getQuery and hardSave functions. Removed selectedId global variable.
deletion test passing. Deletion functionality complete. Added transitions for modal.