improved tables modal