added destroy methods for plan when delete plan is pressed

also added label filtering in model for on keyup function