lrlebrao Hides buttons properly and adds btnDelete functionality