- Implemented custom dialog