Attempting to fix paths #3
Added prevent default on grid button click