added status button on pop up window