added link status and cancel buttons