bug fix where add form not displaying after pagination