- initial modification for custom FO to handle some bugs

- added default buttons for custom delete dialog